Eye Candy for Authorware, Part 2: Integrating the Graphics
Table of Contents
Setting up the File Properties
- Create a new file in Authorware 7 and save it with a file name of your choice. Note that the over state for the translucent hot object buttons will not work the same in earlier versions of Authorware.
- Select Modify > File Properties from the main menu.
- Turn off the title and menu bars, and check the Center on Screen checkbox.
- Select the most pale gray swatch as a background color.
Figure 1. Setting the file properties
Bringing in the Basic Graphic
I love this part. This is where all the hard work starts to come together like magic. I like to have a single framework that controls the interface for the whole piece.
-
Start out by dragging a Framework icon onto the flowline.
Figure 2. Dragging a Framework icon onto the flowline
My Framework has been customized so that the default navigation and gray navigation panel are gone, which is why mine appears grayed out.
- Open the Framework, and position the paste hand inside it.
- Press the "Import" button, or select File > Import.
-
Navigate to your finished .png files and select your interface graphic.
Figure 3. Browsing to the interface graphic
-
Run the file. You will notice that your graphic looks something like this:
Figure 4. Viewing the interface
That doesn't look very good, does it?
- Double-click the graphic to edit its properties.
-
Double-click the arrow in the tool palette to bring up the Modes Inspector.
Figure 5. The arrow tool
Figure 6. The Modes inspector
-
Click Alpha in the Modes inspector to change the mode of the graphic. Now, your graphic should look a bit more as intended.
Figure 7. Changing the mode of the Graphic to alpha
The cutout rectangle in the lower left is where you will be putting the translucent hot object buttons. A bit of texture behind translucent objects makes them look even better, so next you will add subtle horizontal stripes to this area. Use the following steps to do this.
- Use the rectangle tool to draw a rectangle in this area. It does not have to be exact. In fact, it should overlap slightly.
-
Double-click the rectangle tool to bring up the Fills inspector, and select the close horizontal line pattern.
Figure 8. Selecting the close line horizontal pattern in the Fills inspector
Figure 9. Selecting the close horizontal pattern in the Fills inspector
- If the background color is not already set to white, set it to white now.
- Set the line style to None (the dotted line at the top of the Lines inspector).
-
Set the Mode to Transparent. Your rectangle should now resemble the one in Figure 10 below.
Figure 10. The rectangle with the Fill and Mode applied
-
The black lines are a bit darker than the subtle effect you're after, so choose a grey that is just slightly darker than the background as shown in Figure 11 below.
Figure 11. Altering the horizontal lines color
Once you've done that, your Authorware file should look like figure 12 below.
Figure 12. The updated interface
Now that your rectangle is the way you want it, send it behind the main interface graphic. You can use the Modify Menu or use the key combination Ctrl+Shift+Down Arrow to do this. Did I mention that the "Addendum" folder within the Authorware 6, 6.5 and 7 Help folder contains a printable reference to the shortcuts available in Authorware?
Once you've done that, your Authorware file should look something like figure 13 below.
Figure 13. Sending the rectangle behind the main interface graphic